package dimensional.traveler.client.ui.util;

import com.sencha.gxt.widget.core.client.box.AutoProgressMessageBox;

public class LoadingBar {
	
	private static AutoProgressMessageBox progressMessageBox;
	static {
		progressMessageBox = new AutoProgressMessageBox("", "");
		progressMessageBox.setProgressText("Loading");
	}

	public static void showLoadingBar() {
		progressMessageBox.auto();
	    progressMessageBox.show();
	}
	
	public static void hideLoadingBar() {
		 progressMessageBox.hide();
	}
}
